# 基础镜像
FROM centos:centos7
# 作者Denlin
MAINTAINER author<Denlin>
# 基础环境
RUN yum update -y &&\
yum clean all &&\
yum install httpd php php-mysql php-gd openssl psmisc tar -y &&\
yum clean all
ADD scripts /scripts
#RUN chmod 777 /scripts/
#RUN chown -R apache.apache /scripts/
# 端口暴露
EXPOSE 80
CMD ["/bin/bash","/scripts/start.sh"]

